app.bin: crt0.S  poll.c
	arm-linux-gcc -g -c -o crt0.o crt0.S
	arm-linux-gcc -g -c -o poll.o poll.c
	arm-linux-ld -Ttext 0x0000000 -g  crt0.o poll.o -o app.elf
	arm-linux-objcopy -O binary -S app.elf app.bin
clean:
	rm -f *.o *.elf *.bin
